package cn.wolfcode.qo;

import cn.wolfcode.domain.Business;
import cn.wolfcode.domain.SystemDictionaryItem;
import cn.wolfcode.enums.AppointmentStatusEnum;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class AppointmentQueryObject extends QueryObject {
    private String ano;
    private Long categoryId;
    private Integer status;
    private Long businessId;
    private String customerName ;
    private String customerTel ;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date endDate;

//    public String getName() {
//        return AppointmentStatusEnum.findName(status);
//    }
}
